projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3f64f
)
Fix broken build on Solaris 10 emacs_spawn
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 18 Aug 2022 06:12:55 +0000
(23:12 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 18 Aug 2022 06:12:55 +0000
(23:12 -0700)
* src/callproc.c (emacs_spawn) [SETUP_SLAVE_TTY]:
pty_flag no longer exists. Use pty_in && std_in >= 0,
which at least compiles.
src/callproc.c
patch
|
blob
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index e8e4c48b5be62f546f3a13a267eb65863ea564f3..2d457b3c84c29d6712147dc5a474a7c4827de273 100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-1574,7
+1574,7
@@
emacs_spawn (pid_t *newpid, int std_in, int std_out, int std_err,
#endif /* not DONT_REOPEN_PTY */
#ifdef SETUP_SLAVE_PTY
- if (pty_
flag
)
+ if (pty_
in && std_in >= 0
)
{
SETUP_SLAVE_PTY;
}